﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<ul>
    <li><a>Prófíll:</a>
    <ul>
    <li><%: Html.ActionLink("Mitt svæði", "Index", "Profile")%></li>
    <li><%: Html.ActionLink("Stillingarnar mínar", "Settings", "Profile")%></li>
    <li><%: Html.ActionLink("Skrá börn", "CreateChild", "Profile")%></li>
    <li><%: Html.ActionLink("Breyta börnum", "ChildList", "Profile")%></li>
<% if (!HttpContext.Current.User.IsInRole("Fagfolk") || !HttpContext.Current.User.IsInRole("Admin"))
   { %>
    <li><%: Html.ActionLink("Sækja um breyttan aðgang","ApplyForPro","Profile") %></li>
<% } %>
    <li><%: Html.ActionLink("Senda inn grein","SubmitArticle","Profile")%></li>
    <li><%: Html.ActionLink("Tímalínur barna","Timeline","Profile")%></li>
    <li><%: Html.ActionLink("Vaxtarkúrvur barna","WhoCurve","Profile")%></li>
    <li><%: Html.ActionLink("Hvað á barnið að drekka mikið?","ChildDrinking", "Profile")%></li>
    </ul>
    </li>
</ul>